<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: JCStorageItem类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#properties">属性</a> &#124;
<a href="interface_j_c_storage_item-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCStorageItem类 参考<div class="ingroups"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html">文件存储模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#import &lt;<a class="el" href="_j_c_storage_item_8h_source.html">JCStorageItem.h</a>&gt;</code></p>
<div class="dynheader">
类 JCStorageItem 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interface_j_c_storage_item.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:a00915f030356001c0d9a094756a8bd88"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#a00915f030356001c0d9a094756a8bd88">fileId</a></td></tr>
<tr class="separator:a00915f030356001c0d9a094756a8bd88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5daaea587c21fefd0282673a0d1adfaf"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#a5daaea587c21fefd0282673a0d1adfaf">uri</a></td></tr>
<tr class="separator:a5daaea587c21fefd0282673a0d1adfaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5216dc4074d41ccf83af7bde0a241763"><td class="memItemLeft" align="right" valign="top">NSString *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#a5216dc4074d41ccf83af7bde0a241763">path</a></td></tr>
<tr class="separator:a5216dc4074d41ccf83af7bde0a241763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdebf445c70675bcbc39cc6135131a1b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gab1a6536b76be865d753f8ce57772017e">JCStorageItemDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#acdebf445c70675bcbc39cc6135131a1b">direction</a></td></tr>
<tr class="separator:acdebf445c70675bcbc39cc6135131a1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a945691b5e524e58fea01c20fc8280aed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gae8b946edea3b6539810da539fd31af28">JCStorageItemState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#a945691b5e524e58fea01c20fc8280aed">state</a></td></tr>
<tr class="separator:a945691b5e524e58fea01c20fc8280aed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00d1824a015e0852723812127663b079"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ga91478557da1165b556b3eb60c05a46bf">JCStorageReason</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#a00d1824a015e0852723812127663b079">error</a></td></tr>
<tr class="separator:a00d1824a015e0852723812127663b079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad12ea72c6d6bde557358775ea3992f1d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#ad12ea72c6d6bde557358775ea3992f1d">progress</a></td></tr>
<tr class="separator:ad12ea72c6d6bde557358775ea3992f1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65a604e775b7d9a1b753ca3e37ac02cc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#a65a604e775b7d9a1b753ca3e37ac02cc">fileSize</a></td></tr>
<tr class="separator:a65a604e775b7d9a1b753ca3e37ac02cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addcbe5ab809d01fc3cba34e06a7cbb8d"><td class="memItemLeft" align="right" valign="top">id&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#addcbe5ab809d01fc3cba34e06a7cbb8d">cookie</a></td></tr>
<tr class="separator:addcbe5ab809d01fc3cba34e06a7cbb8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af48e734656a9b887aca74beac080cc1c"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_j_c_storage_item.html#af48e734656a9b887aca74beac080cc1c">operationId</a></td></tr>
<tr class="separator:af48e734656a9b887aca74beac080cc1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>文件消息对象类 </p>
</div><h2 class="groupheader">属性说明</h2>
<a id="addcbe5ab809d01fc3cba34e06a7cbb8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addcbe5ab809d01fc3cba34e06a7cbb8d">&#9670;&nbsp;</a></span>cookie</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (id) cookie</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>cookie </p>

</div>
</div>
<a id="acdebf445c70675bcbc39cc6135131a1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdebf445c70675bcbc39cc6135131a1b">&#9670;&nbsp;</a></span>direction</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gab1a6536b76be865d753f8ce57772017e">JCStorageItemDirection</a>) direction</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件传输方向</p>
<ul>
<li><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggab1a6536b76be865d753f8ce57772017eaca288ae0245b773bf30d2928dfc9fc38">JCStorageItemDirectionUpload</a> : 上传</li>
<li><a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggab1a6536b76be865d753f8ce57772017ea9576356c693836c7e572f6e3eac94bb1">JCStorageItemDirectionDownload</a> : 下载 </li>
</ul>

</div>
</div>
<a id="a00d1824a015e0852723812127663b079"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00d1824a015e0852723812127663b079">&#9670;&nbsp;</a></span>error</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ga91478557da1165b556b3eb60c05a46bf">JCStorageReason</a>) error</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件传输失败的原因</p>
<p>当文件状态为 <a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ggae8b946edea3b6539810da539fd31af28a18fb75843dbb6b6050cc1e027bf097d8">JCStorageItemStateFail</a> 时有效，参见 <a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#ga91478557da1165b556b3eb60c05a46bf">JCStorageReason</a> 错误原因 </p>

</div>
</div>
<a id="a00915f030356001c0d9a094756a8bd88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00915f030356001c0d9a094756a8bd88">&#9670;&nbsp;</a></span>fileId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) fileId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件唯一标识符 </p>

</div>
</div>
<a id="a65a604e775b7d9a1b753ca3e37ac02cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65a604e775b7d9a1b753ca3e37ac02cc">&#9670;&nbsp;</a></span>fileSize</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (int) fileSize</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件大小 </p>

</div>
</div>
<a id="af48e734656a9b887aca74beac080cc1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af48e734656a9b887aca74beac080cc1c">&#9670;&nbsp;</a></span>operationId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (unsigned int) operationId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">write</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>操作id </p>

</div>
</div>
<a id="a5216dc4074d41ccf83af7bde0a241763"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5216dc4074d41ccf83af7bde0a241763">&#9670;&nbsp;</a></span>path</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) path</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件本地路径 </p><dl class="section note"><dt>注解</dt><dd>发送时表明发送文件路径，接收时表明文件下载保存路径 </dd></dl>

</div>
</div>
<a id="ad12ea72c6d6bde557358775ea3992f1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad12ea72c6d6bde557358775ea3992f1d">&#9670;&nbsp;</a></span>progress</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (int) progress</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件传输进度 </p>

</div>
</div>
<a id="a945691b5e524e58fea01c20fc8280aed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a945691b5e524e58fea01c20fc8280aed">&#9670;&nbsp;</a></span>state</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gae8b946edea3b6539810da539fd31af28">JCStorageItemState</a>) state</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">assign</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>传输状态，参见 <a class="el" href="group___xE6_x96_x87_xE4_xBB_xB6_xE5_xAD_x98_xE5_x82_xA8_xE6_xA8_xA1_xE5_x9D_x97.html#gae8b946edea3b6539810da539fd31af28">JCStorageItemState</a> </p>

</div>
</div>
<a id="a5daaea587c21fefd0282673a0d1adfaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5daaea587c21fefd0282673a0d1adfaf">&#9670;&nbsp;</a></span>uri</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">- (NSString*) uri</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">read</span><span class="mlabel">nonatomic</span><span class="mlabel">copy</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>文件链接，上传文件可获得 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>JCSDKOC/JCSDKOC/JCStorage/<a class="el" href="_j_c_storage_item_8h_source.html">JCStorageItem.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
